<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('zhanfa/index')}">战法列表</a></li>
        <li class="active"><a href="{:U('zhanfa/add')}">添加战法</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form">
        <fieldset>
            <div class="control-group" id="title">
                <label class="control-label">标题：</label>
                <div class="controls">
                    <input type="text" name="title" placeholder="战法标题" value="{$row.title}"/>
                </div>
            </div>
            <div class="control-group" id="content">
                <label class="control-label">内容：</label>
                <div class="controls">
                    <textarea name="content" placeholder="战法内容" style="width: 510px;height: 180px;">{$row.content}</textarea>
                </div>
            </div>
            <div class="control-group" id="url">
                <label class="control-label">战法下载地址：</label>
                <div class="controls">
                    <textarea name="url" style="width: 510px;height: 120px;" placeholder="战法下载地址">{$row.url}</textarea>
                </div>
            </div>
        </fieldset>
        <div class="form-actions">
            <a class="btn" href="{:U('zhanfa/add')}">{:L('BACK')}</a>
            <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>